<?phpnamespace App\Blocks;use App\Models\WechatConfig;use App\Models\WechatMenu;use DB;class Wechat{    public function getWechatMenuByAppId($appId){        $wechatConfigModel = new WechatConfig();        $wechatMenuModel = new WechatMenu();        return DB::table($wechatConfigModel->getTable() .' as wc')            ->leftJoin($wechatMenuModel->getTable() . ' as wm', 'wc.id', '=', 'wm.wechat_id')            ->where('wc.app_id', $appId)            ->first();    }}